package com.itheima.service;

import com.itheima.domain.User;

import java.util.List;


public interface UserService {

    /*添加账号*/
    Integer save(User user);

    /*删除账号*/
    Integer delete(Integer id);

    /*查询账号*/
    List<User> findAll();

    /*修改账号*/
    Integer update(User user);
}
